<local:DocumentBase x:Class="WPFExcelReport.SXNWV03"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls" 
                    xmlns:WB="clr-namespace:WPFExcelReport;assembly=TWBBST"
                    xmlns:WG="clr-namespace:WPFExcelReport;assembly=TWGBST"
                    xmlns:WD="clr-namespace:WPFExcelReport;assembly=TWBDAT"
                    xmlns:WDK="clr-namespace:WPFExcelReport;assembly=TWDECK"
                    xmlns:MU="clr-namespace:WPFExcelReport;assembly=TABAUFM" 
                    xmlns:VVT="clr-namespace:WPFExcelReport;assembly=TVVTLIEF"
                    xmlns:VV="clr-namespace:WPFExcelReport;assembly=TVVLIEF"   
                    xmlns:VKK="clr-namespace:WPFExcelReport;assembly=TVKKOPF" 
                    xmlns:VKP="clr-namespace:WPFExcelReport;assembly=TVKPOS" 
                    xmlns:VRP="clr-namespace:WPFExcelReport;assembly=TVRPOS" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"                    
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"  
                     xmlns:me="clr-namespace:WPFExcelReport"
                    FontSize="14"
                    Name="TV"
                    Loaded="Window_Loaded"
>
    <local:DocumentBase.Resources>
        <ucd:BoolToVisibilityConverter x:Key="bv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </local:DocumentBase.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition   Height="Auto" />
            <RowDefinition   Height="1*" />
            <RowDefinition   Height="1*" />
        </Grid.RowDefinitions> 
        <Grid Grid.Row="1" Grid.Column="0"  Name="ZoneVK">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="1*"></RowDefinition>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="2*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <VKK:TVKKVV Grid.Row="0" Grid.Column="0" Name="cVK04" MinWidth="200" MinHeight="50" 
                        IsZoneWBFull="{Binding IsWBFull,ElementName=TV}"
                         IsMTR="True"
                         />
            <VKP:TVKPVV Grid.Row="2" Grid.Column="0" Name="cVK05"  MinWidth="200" MinHeight="50"
                        dwVKK="{Binding dwVKK,ElementName=cVK04}" 
                        />
            <StackPanel Grid.Row="0" Grid.RowSpan="3" Grid.Column="1">
                <Grid Margin="10,0,0,0"   Visibility="Collapsed">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <Button Click="btnPrintPK_Click" Height="20" Margin="20,0,0,0" Width="20" >
                        <Button.Background>
                            <ImageBrush  ImageSource="/ImagePackage;component/Images/Print.png" />
                        </Button.Background>
                    </Button>
                    <TextBlock Grid.Column="1" FontSize="18" >打印提货单</TextBlock>
                    <TextBox Grid.Column="2" Name="txtLang" CharacterCasing="Upper">CN</TextBox>
                </Grid>
                <VVT:TVVTLIEF  IsWBREQ="True" 
                               IsAuto="True"
                               Name="cVVT"  
                               VKP="{Binding AUF,ElementName=cVK05}"
                               />
                <VV:TVVLIEF   Name="cSVV"
                               VKP="{Binding VKP,ElementName=cVVT}"
                              ORDERNUM="{Binding LIEFSCH,ElementName=cVK05}"
                               />
            </StackPanel>
        </Grid>
        <Grid Grid.Row="2" Name="ZoneWB">
            <WB:TWZ04 Name="cWZ04" Grid.Row="2"  LO="01" LB="KO" LP="        "  SLO="01" SLB="CW"   MinWidth="200" MinHeight="50"
                      IsZoneWBFull="{Binding IsWBFull,ElementName=TV}"
                      IsCanNew="True"      
                      IsPage="True"
                         Rows="50"
                         FTAUTOSUM="True"
                         SKEY1="WBBART" 
                         KEY1="WBBISTKLG"
                       ORDERNUM="{Binding KEY,ElementName=cVVT}"
                     />
        </Grid>
    </Grid>
</local:DocumentBase>
    
